package com.yuelao.yuelao_backend.common;

/**
 * 系统配置常量类
 * 集中管理所有配置分组名和配置键
 */
public final class ConfigConstants {

    private ConfigConstants() {
        // 私有构造函数，防止实例化
    }

    // ==================== 配置分组 ====================

    /**
     * 操作限制配置分组
     */
    public static final String GROUP_ACTION_LIMITS = "action_limits";

    // ==================== 操作限制配置键 ====================

    /**
     * 普通用户每日喜欢次数限制
     */
    public static final String KEY_NORMAL_LIKE_LIMIT = "action.limit.normal.like";

    /**
     * VIP用户每日喜欢次数限制
     */
    public static final String KEY_VIP_LIKE_LIMIT = "action.limit.vip.like";

    /**
     * 普通用户每日超级喜欢次数限制
     */
    public static final String KEY_NORMAL_SUPER_LIKE_LIMIT = "action.limit.normal.super_like";

    /**
     * VIP用户每日超级喜欢次数限制
     */
    public static final String KEY_VIP_SUPER_LIKE_LIMIT = "action.limit.vip.super_like";

    /**
     * 普通用户每日关注次数限制
     */
    public static final String KEY_NORMAL_FOLLOW_LIMIT = "action.limit.normal.follow";

    /**
     * VIP用户每日关注次数限制
     */
    public static final String KEY_VIP_FOLLOW_LIMIT = "action.limit.vip.follow";

    // ==================== 默认值 ====================

    public static final int DEFAULT_NORMAL_LIKE_LIMIT = 100;
    public static final int DEFAULT_VIP_LIKE_LIMIT = 500;
    public static final int DEFAULT_NORMAL_SUPER_LIKE_LIMIT = 0;
    public static final int DEFAULT_VIP_SUPER_LIKE_LIMIT = 3;
    public static final int DEFAULT_NORMAL_FOLLOW_LIMIT = 50;
    public static final int DEFAULT_VIP_FOLLOW_LIMIT = 100;
}
